package com.quectel.sdk.zlm.basemodel.hook;

import com.quectel.sdk.zlm.basemodel.ZLMediaKitBaseResp;
import lombok.Getter;
import lombok.Setter;

/**
 * 在这里编写说明
 *
 * @author: rananxin
 * @email: ryan.ran@quectel.com
 * @date: 2023-01-11 16:40:00
 */
public class HookOnRtspRealmResp extends ZLMediaKitBaseResp {

    @Getter
    @Setter
    private String realm;

    public static HookOnRtspRealmResp noExecAuth() {
        HookOnRtspRealmResp hookOnRtspRealmResp = new HookOnRtspRealmResp();
        hookOnRtspRealmResp.code = SUCCESS_CODE;
        hookOnRtspRealmResp.realm = "";
        return hookOnRtspRealmResp;
    }

    public static HookOnRtspRealmResp execAuth() {
        HookOnRtspRealmResp hookOnRtspRealmResp = new HookOnRtspRealmResp();
        hookOnRtspRealmResp.code = SUCCESS_CODE;
        hookOnRtspRealmResp.realm = "zlmediakit_reaml";
        return hookOnRtspRealmResp;
    }
}
